#{extends 'main.html' /}
#{set title:'Entity' /}

<h2> ${entity.name} </h2>

<form action="@{Users.requestTopicView()}" method="post">
<input type="hidden" name="entityId" value=${entity.id}>
<input type="submit" value = "make topic request">
</form>

<a href ="@{Ideas.postIdeaInEntity}">Post Idea </a>

<form action = "@{Users.inviteUser()}" method = "POST">
<input type="hidden" name="entityId" value=${entity.id}>
<input type = "submit" value = "Invite Unregistered User!!">
</form>
<form action = "@{Organizations.helperInviteToEntInOrg()}" method = "GET">

<input type="hidden" name="entId" value=${entity.id}>
<input type = "submit" value = "Invite User to Entity">
</form>